
#include "atomic_op_namespace.h"

#include <sys/atomic.h>

void
membar_sync(void)
{

	/* nothing */
}

#undef membar_enter
atomic_op_alias(membar_enter,_membar_sync)
__strong_alias(_membar_enter,_membar_sync)
#undef membar_exit
atomic_op_alias(membar_exit,_membar_sync)
__strong_alias(_membar_exit,_membar_sync)
#undef membar_producer
atomic_op_alias(membar_producer,_membar_sync)
__strong_alias(_membar_producer,_membar_sync)
#undef membar_consumer
atomic_op_alias(membar_consumer,_membar_sync)
__strong_alias(_membar_consumer,_membar_sync)
#undef membar_sync
atomic_op_alias(membar_sync,_membar_sync)
crt_alias(__sync_synchronize,_membar_sync)
